package com.ddm.entity.webEntity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@TableName("t_verification_code")
public class VerificationCode implements Serializable {
    private String target; // 手机号或邮箱
    private String code;
    private Integer type; // 1:短信 2:邮箱
    private Integer usageType; // 1:注册 2:登录
    private LocalDateTime expireTime;
}
